 #wrapper {
	min-width: 950px;
	max-width: 1220px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	position: relative;
	z-index: 1;
 	background-position:left 125px;
 	background-repeat:repeat-x;	
	padding: 0 1px;

}

/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 215px;
	background-color: #f3f3f3;
	
	background-repeat: repeat;
	background:url("../img/header_fon.png")  left top white;
	position: relative;
	-moz-border-radius:0 0 10px 10px;
	-webkit-border-radius: 0 0 10px 10px;
	border-radius:0 0 10px 10px;
	-khtml-border-radius:0 0 10px 10px;
	
  	z-index: 10;
}




/* Middle
-----------------------------------------------------------------------------*/
#content {
	padding: 0 0 150px;
	position: relative;
	z-index: 3;
	
}




/* Footer
-----------------------------------------------------------------------------*/
#footer {
	margin: -150px 0 0 0;
	height: 150px;
	position: relative;
	z-index: 2;
	font-size: 11px;
	color:#666666;
}
#footer a:hover{
	color:red;
}
.footer_container{
	min-width: 950px;
	max-width: 1220px;
	margin: 0 auto;
	padding-top: 30px;
}


#footer td{
	text-align: center;
}

#pre_wrapper{
	overflow: hidden;
	min-width: 952px;
	margin:0 auto;
	z-index: 1;
	position: relative;
}

.header_left{
	position: absolute;
	display: none;
	top: 0;
	left:-359px;
	width: 508px;
	height: 269px;
	z-index: 1;
	
}

.header_right{
	position: absolute;
	display: none;
	top: 0;
	right:-318px;
	width: 551px;
	height: 217px;
	z-index: 1;
	
	background-repeat: no-repeat;
}


.content_left{
	display: block;
    height: 296px;
    left: -167px;
    position: absolute;
    top: 0px;
    width: 166px;
    z-index: 1;
}

.content_right{
	position: absolute;
	display: block;
	right: -127px;
    top: 0px;
	width: 127px;
	height: 403px;
	z-index: 1;
}
.main_content{
	min-height: 450px;
}

/**********redesign layout.css***************/

#header {
	background: none;
	position: relative;
	-moz-border-radius:0 ;
	-webkit-border-radius: 0;
	border-radius:0;
	-khtml-border-radius:0;
	height: auto;
}

#wrapper {
    max-width: 1020px;
    min-height: 100%;
    min-width: 1020px;
    padding: 0;
    position: relative;
    z-index: 1;
}

#footer {
	background: url(../img/footer-bg.jpg) center bottom no-repeat;
	height: 285px;
    margin: -285px 0 0;
}

#content {
    padding: 0 0 285px;
}

.footer_container {
    margin: 0 auto;
    max-width: 1020px;
    min-width: 1020px;
    padding-top: 30px;
}

/***********************************************/

body {
   	background: url("../img/pattern.png") repeat scroll 0 0 transparent;
}

#pre_wrapper {
	
}

#pre_wrapper {
	width: 100%;
}

#wrapper {
	background: url("../img/page-bg.png") repeat scroll center center transparent;
	width: 1104px;
	padding: 0 42px;
}

#footer {
	background: none;
	height: 450px;
    margin: -450px 0 0;
}

#content {
    padding: 0 0 450px;
}
